#!/bin/bash

echo "config menue"

# 配置的ip和端口
host="192.168.1.10"
port=9090

# 配置网络的参数
weights="./backup/one-416/yolov4-obj_5000.weights"
config_file="./backup/one-416/yolov4-obj.cfg"
data_file="./backup/one-416/obj.data"

# 配置nms参数即（交并比）
nms=0.3

# 配置过滤的最低阈值
thresh=0.25

./inference --host=$host --port=$port --weights=$weights --config_file=$config_file --data_file=$data_file --nms=$nms --thresh=$thresh

# 电子图识别参数配置！
# 大车路的rgb范围值
# road_color=[(20, 26), (43, 255), (46, 255)]
# 路的rgb范围值
# village_road_color=[(0, 180), (0, 3), (254, 255)]
# 河流的rgb范围值
# river_color=[(100, 124), (43, 255), (46, 255)]
# 道路和铁路的边沿颜色范围值
# road_edge_color=[(0, 180), (0, 43), (46, 225)]
